package com.google.gwt.maps.v3.client.streetview.impl;

import com.google.gwt.core.client.JavaScriptObject;

public class StreetViewTileDataImpl {
  
  public static final StreetViewTileDataImpl impl = new StreetViewTileDataImpl();

  public native String getTileUrl(JavaScriptObject jso, String pano, int tileZoom, double tileX, double tileY) /*-{
    return jso.getTitleUrl(pano, tileZoom, tileX, tileY);
  }-*/;
  
  public native String getOriginHeading(JavaScriptObject jso) /*-{
    return jso.originHeading;
  }-*/;
  
  public native JavaScriptObject getTileSize(JavaScriptObject jso) /*-{
    return jso.tileSize;
  }-*/;
  
  public native JavaScriptObject getWorldSize(JavaScriptObject jso) /*-{
    return jso.worldSize;
  }-*/;
  
  public native void setOriginHeading(JavaScriptObject jso, String originHeading) /*-{
    jso.originHeading = originHeading;
  }-*/;
  
  public native void setTileSize(JavaScriptObject jso, JavaScriptObject tileSize) /*-{
    jso.tileSize = tileSize;
  }-*/;
  
  public native void setWorldSize(JavaScriptObject jso, JavaScriptObject worldSize) /*-{
    jso.worldSize = worldSize;
  }-*/;
  
}
